
class Animal {
  name:string
  age: number
  constructor(name:string, age:number) {
    this.name = name
    this.age = age
  }
}


let dog = new Animal('大黄狗', 23)

console.log(' dog: ', dog)